<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script type="text/javascript" src="./js/angular.min.js"></script>
</head>
<body ng-app="myApp">
<div ng-controller="controlOne">
	{{username}}	
</div>
<div ng-controller="controlTwo">
	{{username}}
</div>
</body>
<script type="text/javascript">
angular.module('appOne',[]).controller('controlOne',function($scope){
	$scope.username = "张三";
});
angular.module('appTwo',[]).controller('controlTwo',function($scope){
	$scope.username = "李四";
});
var myApp = angular.module('myApp',['appOne','appTwo']);
</script>
</html>
